#ifndef JOBSWORKERFOLLOW_INCLUDED
#define JOBSWORKERFOLLOW_INCLUDED

namespace bimar_scheduler_lib
{

class CJobsWorkerFollow : public CJobsWorker
{
public:
  CJobsWorkerFollow(gulong maxExecutors);
  virtual ~CJobsWorkerFollow();

  /* CJobsWorker overrides */
  gboolean Create();

protected:
  gulong RunThread();
  CJobExecutor * GetFirstIdleExecutor();

protected:
  gulong m_maxNumExecutors;
};

}; /* namespace */

#endif // JOBSWORKERFOLLOW_INCLUDED